/**
 * 
 */
package com.coship.vasms.adstorm.common;

import javax.servlet.ServletContext;

/**
 * @author Administrator
 *
 */
public class ServletContextKeeper {
	private static ServletContextKeeper keeper=new ServletContextKeeper();
	
	private ServletContextKeeper(){}
	public static ServletContextKeeper getInstance(){
		return keeper;
	}
	private static ServletContext servletContext;
	
	public ServletContextKeeper(ServletContext servletContext){
		this.servletContext=servletContext;		
	}
	/**
	 * @return the servletContext
	 */
	public ServletContext getServletContext() {
		return servletContext;
	}
	/**
	 * @param servletContext the servletContext to set
	 */
	public static void setServletContext(ServletContext servletContext) {
		ServletContextKeeper.servletContext = servletContext;
	}

}
